package com.example.mapper;

import com.example.entity.FeePayment;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface FeePaymentMapper {
    List<FeePayment> selectList(FeePayment query);
    
    FeePayment selectByRecordAndUser(Long recordId, Long userId);
    
    int insert(FeePayment payment);
    
    int updateStatus(Long id, Integer status, Date paymentTime);

    int delete(int id);
}